﻿namespace Entity.WMS.Entity
{
    /// <summary>
    /// 销售出库模型
    /// </summary>
    public class WarehouseSaleModel
    {
        /// <summary>
        /// 销售出库 ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 销售发货单子单 ID
        /// </summary>
        public string SaleDeliveryOrderItemId { get; set; }

        /// <summary>
        /// 流转卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 物料 ID
        /// </summary>
        public string GoodsId { get; set; }

        /// <summary>
        /// 仓库 ID
        /// </summary>
        public string WarehouseId { get; set; }

        /// <summary>
        /// 仓位 ID
        /// </summary>
        public string WarehousePositionId { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string? BatchNumber { get; set; }

        /// <summary>
        /// 需发货数
        /// </summary>
        public decimal Number_Delivery { get; set; }

        /// <summary>
        /// 已发货数
        /// </summary>
        public decimal Number_Shipped { get; set; } = 0;

        /// <summary>
        /// 已拣货数
        /// </summary>
        public decimal Number_Select { get; set; } = 0;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }=DateTime.Now;
    }
}
